import axios from '../request'
export default {
  getLunbo (params) {
    return axios.get('/slides', params)
  },
  getRecommDot (params) {
    return axios.get(`/doctors?_page=${params.pageNo}&_limit=${params.pageSize}`)
  },
  getDots (params) {
    return axios.get('/doctors', params)
  },
  getHops (params) {
    return axios.get('/hospitals', params)
  },
  getDotsById (params) {
    return axios.get(`/doctors?Did=${params.id}`)
  },
  getRecommHot (params) {
    return axios.get(`/hospitals?_page=${params.pageNo}&_limit=${params.pageSize}`)
  }
}
